{% extends "WebMainSiteBundle:User:layout.html.twig" %}
{% set title = "基本信息" %}
{% block title %}
    {{ title }}
{% endblock %}

{% block user_main %}
    <form class="form-horizontal" role="form"  method="post">
        <div class="row">
            <div class="col-md-8">
                <div class="form-group">
                    <div class="col-md-2 text-right"><label class="control-label" for="email">账号:</label></div>
                    <div class="col-md-10"><p>{{ app.user.account }}</p></div>
                </div>
                <div class="form-group">
                    <div class="col-md-2 text-right"><label class="control-label" for="nickName">昵称</label></div>
                    <div class="col-md-10">
                        <input name="nickName" type="text" class="form-control input-lg" id="nickName" placeholder="请设置您的昵称" value="{{ user.nickName ? user.nickName : "" }}"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-2 text-right"><label class="control-label" for="phone">手机</label></div>
                    <div class="col-md-10">
                        <input name="phone" type="text" class="form-control input-lg" id="phone" placeholder="常用手机号"  value="{{ user.phone ? user.phone : "" }}"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-2 text-right"><label class="control-label" for="email">邮箱</label></div>
                    <div class="col-md-10">
                        <input name="email" type="text" class="form-control input-lg" id="email" placeholder="常用邮箱"  value="{{ user.email ? user.email : "" }}"/>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="user_reg_pic">
                    {#<img src="" alt="图像占位" />#}
                </div>
            </div>
            <p class="buttons-margin-horizontal">
                <input type="submit" class="btn btn-theme btn-green" value="修改" />
            </p>
        </div>
    </form>
{% endblock %}